package com.guodi.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * @描述：指标得分值表
 * @作者: lzy
 * @日期: 2023-04-03
 */
@Data
@EqualsAndHashCode
@ApiModel(value="指标得分值表")
public class IdtScoreValue implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private String id;

    @NotBlank(message = "年份不能为空")
    @ApiModelProperty(value = "年份")
    private Integer year;

    @NotBlank(message = "行政区划编码不能为空")
    @ApiModelProperty(value = "行政区划编码")
    private String divisionCode;

    @NotBlank(message = "得分值不能为空")
    @ApiModelProperty(value = "得分值")
    private String scoreValue;


    @NotBlank(message = "指标id不能为空")
    @ApiModelProperty(value = "指标id")
    private String indicatorsId;


    @ApiModelProperty(value = "创建人",hidden = true)
    private String creator;

    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date createTime;

    @ApiModelProperty(value = "修改人",hidden = true)
    private String modifier;

    @ApiModelProperty(value = "修改时间",hidden = true)
    private Date modifyTime;

}
